package com.superhelper.superhelper_web.domain;

import java.util.List;

/**
 * 视图资源
 * 
 * @author xiejunbo
 *
 */
public class Resource {

	private Integer id;// 资源ID

	private String name;// 资源名

	private String url;// 资源地址

	private Integer parentId;

	private List<Resource> sub;
	private Integer indexs;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public List<Resource> getSub() {
		return sub;
	}

	public void setSub(List<Resource> sub) {
		this.sub = sub;
	}

	public Integer getIndexs() {
		return indexs;
	}

	public void setIndexs(Integer indexs) {
		this.indexs = indexs;
	}

}
